import { defineStore } from "pinia";
// 用户数据信息
const useUserStore = defineStore("users", {
  state: () => {
    return {
      info: null,
    };
  },
  getters: {},
  actions: {},
  persist: {
    enabled: true, //开启 enabled 之后，默认会对整个 Store 的 state 内容进行 sessionStorage 储存
    strategies: [],
  },
});

export default useUserStore;



